<?php
abstract class mainObjectInfo
{
	function __construct()
	{
		echo ('
		<link rel="stylesheet" type="text/css" href="style/mainObjectInfo.css" />
		<div class="nameShort" align="center">
			<div class="name">
				');
				$this->showName();
				echo ('
			</div>
			<div class="short">
			');
				$this->showShort();
			echo ('
			</div>
		</div>
			<table border="0" class="objTable">
				<tr>
					<td colspan="2" align="center">
			');
			$this->showPic();
			echo ('
					</td>
				</tr>
				<tr class="rateComs">
				<td colspan="2">
			');
				$this->showRating();

						//$aFirmRating=new rating('f');
						//$aFirmRating->echo_rating(0, $this->row['rating'], $this->row['votes']);
			echo ('
				</td>
			</tr>
			<tr>
				<td align="center" colspan="2" class="info">
			');
				$this->showAddress();
		echo ('
				</td>
			</tr>
		</table>
		');
	}
	abstract function showRating();
	abstract function showPic();
	abstract function showAddress();
	abstract function showName();
	abstract function showShort();
}
?>